import request from '@/utils/request'

// 审核
export function deductionStoreApplyRecord(query) {
  return request({
    url: '/biz/storeApplyRecord',
    method: 'post',
    params: query
  })
}

// 查询biz_门店申请记录列表
export function listStoreApplyRecord(query) {
  return request({
    url: '/biz/storeApplyRecord/list',
    method: 'get',
    params: query
  })
}

// 查询biz_门店申请记录详细
export function getStoreApplyRecord(id) {
  return request({
    url: '/biz/storeApplyRecord/' + id,
    method: 'get'
  })
}

// 新增biz_门店申请记录
export function addStoreApplyRecord(data) {
  return request({
    url: '/biz/storeApplyRecord',
    method: 'post',
    data: data
  })
}

// 修改biz_门店申请记录
export function updateStoreApplyRecord(data) {
  return request({
    url: '/biz/storeApplyRecord',
    method: 'put',
    data: data
  })
}

// 删除biz_门店申请记录
export function delStoreApplyRecord(id) {
  return request({
    url: '/biz/storeApplyRecord/' + id,
    method: 'delete'
  })
}
